# $Id: PKGBUILD 66029 2012-02-22 14:47:27Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-devel-symdump
pkgver=2.08
pkgrel=4
pkgdesc="Perl symbol table access and dumping"
arch=('any')
url="http://search.cpan.org/dist/Devel-Symdump"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/A/AN/ANDK/Devel-Symdump-$pkgver.tar.gz)
md5sums=('68e3a2f2f989bff295ee63aed5a2a1e5')

build() {
  cd  $srcdir/Devel-Symdump-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
